import request from '@/utils/request'

// 获取登录日志列表
export function getLoginLogs(params) {
  return request({
    url: '/system/login-logs/',
    method: 'get',
    params
  })
}

// 获取登录日志详情
export function getLoginLogDetail(id) {
  return request({
    url: `/system/login-logs/${id}/`,
    method: 'get'
  })
}